// 加载图标列表
let ICON_LIST = (state, payload) => {
    // 要浅拷贝一下，防止出现其他问题
    state.icons = [...payload];
}

// 选中图标的信息
let SELECT_ICON = (state, payload) => {
    state.selectIcon = payload.icon_id;
}

export default {
    ICON_LIST,
    SELECT_ICON,
}